package com20230216;

public class GirlFirend {
    String name;
    double height;
    double weight;

    public void wash(){
        System.out.println("女朋友帮我洗衣服");
    }
    public void cook(){
        System.out.println("女朋友给我做饭");
    }
    public void show(String n,double h,double w){
        System.out.printf("我女朋友叫%s,身高%.1f厘米,体重%.1f斤\n",n,h,w);
    }
}
